package com.solidtrust.entity;

import java.text.MessageFormat;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class GanjiModel {

	@Id
	private String url;
	
	private String model;
	
	private String brand;

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getModel() {
		return model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	public String getBrand() {
		return brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}
	
	@Override
	public String toString() {
		return MessageFormat.format("[model={0}, url={1}]", model, url);
	}
}
